package com.aididi.mapper;/**
 * @description：
 * @author ：xuzexiang
 * @date ： 2021/10/18 21:40
 */

import com.aididi.entity.ContractorInfo;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @description：
 * @author  ：xuzexiang
 * @date  ： 2021/10/18 21:40
 */
@Repository
public interface ContractorInfoMapper extends JpaRepository<ContractorInfo,Integer>, JpaSpecificationExecutor<ContractorInfo> {

    //@Query("select e from ContractorInfo e where e.mchntNo =?1 and e.appType =?2 ")
    ContractorInfo findByMchntNoAndAppType(String mchntNo,String appType);
}
